curl --request POST \
  --url https://{{agent-gateway-hostname}}/asor/v1/agentDefinition \
  --compressed \
  --header 'Authorization: Bearer {{bearer-token}}' \
  --header 'accept-encoding: identity' \
  --header 'content-type: application/json' \
  --header 'wd-agent-tenant-alias: {{tenant-alias}}' \
  --data '{
  "name": "Gemini Enterprise",
  "description": "Gemini Enterprise 3p Agent that can invoke agents via A2A",
  "url": "https://console.cloud.google.com/gemini-enterprise/apps",
  "documentationUrl": "https://docs.cloud.google.com/gemini/enterprise/docs",
  "provider": {
    "id": "Provider=Self-Built"
  },
  "iconUrl": "https://cdn1.iconfinder.com/data/icons/material-design-icons-light/24/link-variant-512.png",
  "version": "1.0.1",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "platform": {
    "id": "b49b32cfdbef10002184b61535490000"
  },
  "defaultInputModes": [
    {
      "type": "text/plain"
    }
  ],
  "defaultOutputModes": [
    {
      "type": "text/plain"
    },
    {
      "type": "application/json"
    }
  ],
  "skills": [
    {
      "id": "ssa-agent-as-a-tool",
      "name": "Sana Self-Service Agent",
      "description": "Connects to Sana Self-Service Agent",
      "tags": [
        {
          "tag": "hr-operations"
        }
      ],
      "inputModes": [
        {
          "type": "text/plain"
        }
      ],
      "outputModes": [
        {
          "type": "text/plain"
        },
        {
          "type": "application/json"
        }
      ]
    }
  ],
  "workdayConfig": [
    {
      "skillId": "ssa-agent-as-a-tool",
      "executionMode": {
        "id": "Mode=Delegate"
      },
      "workdayResources": [
        {
          "tool_name": "Sana Self-Service Agent",
          "description": "Connects to Sana Self-Service Agent",
          "agent_resource": {
            "id": "6bfadd7c014610000dffae8d77c00000"
          }
        }
      ]
    }
  ]
}'